package com.serve.oa.dto;

import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.util.List;

@Data
public class UserUpdateDto implements Serializable {

    private Long id;

    @NotBlank(message = "用户名不能为空")
    private String username;

    private String avatar;

    private String email;

    private String city;

    private List<Long> roles;

}
